/**
 * 
 */
package com.bloomingstars.sqm.orm;

import javax.persistence.Basic;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * @author Emmanuele Sordini
 *
 */
@Entity
@Table(name = "sqm_readings")
public class SqmReadingEntity {

    @Id
    private Long timeUt;
    @Basic
    private float reading = -1.0f;
    @Basic
    private float frequency = -1.0f;
    @Basic
    private float periodCounts = -1.0f;
    @Basic
    private float periodSeconds = -1.0f;
    @Basic
    private float temperature = -1.0f;

    public SqmReadingEntity() {} 
    
    public Long getTimeUt() {
        return timeUt;
    }
    public void setTimeUt(Long timeUt) {
        this.timeUt = timeUt;
    }
    public float getReading() {
        return reading;
    }
    public void setReading(float reading) {
        this.reading = reading;
    }
    public float getFrequency() {
        return frequency;
    }
    public void setFrequency(float frequency) {
        this.frequency = frequency;
    }
    public float getPeriodCounts() {
        return periodCounts;
    }
    public void setPeriodCounts(float periodCounts) {
        this.periodCounts = periodCounts;
    }
    public float getPeriodSeconds() {
        return periodSeconds;
    }
    public void setPeriodSeconds(float periodSeconds) {
        this.periodSeconds = periodSeconds;
    }
    public float getTemperature() {
        return temperature;
    }
    public void setTemperature(float temperature) {
        this.temperature = temperature;
    }
}